home *** CD-ROM | disk | FTP | other *** search
- MP SortPicts Demo 1/7/97
-
-
- History of SortPicts.
-
- The original version was used to show off the Thread Manager it was
- written by Randy Thelen using the Sprockets Framework. So I take no
- credit (or blame) for the majority of the code. The biggest step in
- using MP is getting your application threaded. Randy did all this work.
-
- During the OS formally known as Copland time frame Paul Forrester
- modified the code to run under Copland and to show off the two machine
- debugger debugging multiple Copland tasks. So that is why you
- will see a lot of reference to Copland in the source code.
-
- I took the code and made it more Copland friendly and got it ready to go
- out on the DR1 CD.
-
- The DR1 CD never went out and the OS formally known as Copland, was cancelled.
-
- Since then the new MP API has been released so I modified the code once again
- to use MP tasks instead of Copland tasks. This is what you see today.
-
-
- The program uses the Thread Manager or MP tasks to get some work done. It
- doesn't require MP or even multiple CPU's. It enables the "Use MP tasks"
- menu item if it can start an MP Task.
-
-
- So what are the cool things that the MPSortPicts can do?
-
-
- 1. Live Window Dragging
-
- To give you the cool BeOS demo look, I enabled live window dragging
- for MP task windows. This shows the Mac can preemptively multitask like the
- rest of them. When you drag an MPTask window, the animation continues to
- run in the window while you are dragging it around the screen.
-
- 2. Continues to run then the mouse button is down.
-
- The MP Task windows continue to run when you hold down the mouse button.
-
- 3. Continues to run even when your in Macsbug
-
- If you drop into Macsbug the MPTasks continue to run. Ooooh Coool.
-
-
- Caveats
-
- I didn't spend much time on the blitter so it's not a very good Mac citizen.
- If you move the app into the background the MPtask continues to blit
- to the screen right over anything else. Also it only supports 8 bit single
- monitor blitting. If I get more time I'll fix these things.
-
-
-
- Matt
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-